vt_kdsetmode: extend console locking
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 30 Aug 2021 15:55:18 +0000 (08:55 -0700)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 23 Sep 2021 20:35:21 +0000 (21:35 +0100)
commite0758c8e7889be1ab57e4effc609be5c355b4c0b
tree5adb1c7c8c3d34af7ef7c1301e1d8ca84e359300
parent6caebe34212db0c5492993a22a8427834d4500d3
vt_kdsetmode: extend console locking

Origin: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit?id=60d69cb4e60de0067e5d8aecacd86dfe92a5384a
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2021-3753

commit 2287a51ba822384834dafc1c798453375d1107c7 upstream.

As per the long-suffering comment.

Reported-by: Minh Yuan <yuanmingbuaa@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name vt_kdsetmode-extend-console-locking.patch
drivers/tty/vt/vt_ioctl.c